﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Diagnostics;

namespace UIControls
{
    public partial class PSPaneScroll : UserControl
    {
        public PSPaneScroll()
        {
            InitializeComponent();
        }

        public FileInfo PSFile
        {
            get { return psPane1.PSFile; }
            set { psPane1.PSFile = value; }
        }

        protected override Point ScrollToControl(Control activeControl)
        {
            return AutoScrollPosition;
        }
    }
}
